#ifndef DESIGNMODEL_H
#define DESIGNMODEL_H


#include <itemtreemodel.h>


class DesignModel : public ItemTreeModel
{
    Q_OBJECT
public:

    explicit DesignModel(QObject *parent = 0);

    virtual int columnCount(const QModelIndex &parent) const;

    virtual bool insertRows(int type, int count, const QModelIndex &parent);
    virtual bool insertColumns(int row, int count, const QModelIndex &parent);

    virtual Qt::ItemFlags flags(const QModelIndex &index) const;
    
    int fieldCount(const QModelIndex& index) const;

    virtual QVariant headerData(int section, Qt::Orientation orientation, int role) const;

    
};

#endif // DESIGNMODEL_H
